<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.yaodian100.com/jsp/yaodian100" prefix="yaodian100" %>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%>
<script language="javascript">
	$().ready(function(){
		$("div.location").html("<a href='/'>首页</a> &gt; 汇款单招领");
		$("div.a-pick-links > a").eq(0).css({color:"black","font-weight":"bold","text-decoration":"none"});
		doAR('<%=ServerValue.getFrontContextPath()%>/applyClaim/searchAll.do?AJAX=true&refreshZone=transfer','transfer');
		var type = "All,Bank,Post"; 
		$("div.a-pick-links > a").each(function(index){
			$(this).click(function(){
				redoCss();
				doAR('<%=ServerValue.getFrontContextPath()%>/applyClaim/search' + type.split(",")[index] + '.do?AJAX=true&refreshZone=transfer','transfer');
				$(this).css({color:"black","font-weight":"bold","text-decoration":"none"});
			});
		});

		$("#login_dialog").dialog({
			autoOpen: false,
			bgiframe: true,
			width:350,
			modal: true
		});
		
	});
	function redoCss(){
		$("div.a-pick-links > a").each(function(){
			$(this).css({color:"#369","font-weight":"normal","text-decoration":"underline"});
		});
	}
	function claimFun(claimId){
		$("#claimUrl").val("<%=ServerValue.getFrontHostname()+ServerValue.getFrontContextPath()%>/member/applyClaim/add.do?bktId=" + claimId);
		slid = checkLogin();
		if(slid == ''){
			$("#login_dialog").dialog('open');
			return;
    	}
		location.href=$("#claimUrl").val();
		return false;
	}

	function toMemberLogin(){
		location.href=$("#claimUrl").val();
	}

	function toNonmemberLogin(){
		location.href="<%=ServerValue.getFrontContextPath()%>/nonMember/tologin.do?redirect_url="+$("#claimUrl").val();
	}
</script>
<div class="content">
	<h2>汇款单招领</h2>
  <ul class="remit-info">
  	<li>．您已经汇款给耀点100一段时间，但订单状态仍显示「待付款」？请检查下列汇款招领单是否符合您的信息，以便进行认领作业。(<a href="/help/5_remittance.html" title="帮助中心 -付款方式－汇款招领" target="_blank">进一步了解</a>)</li>
    <li>．如果在下列记录中没有找到，请联络<a href="/help/">帮助中心。</a></li>
  </ul>
	<!-- 清單 -->
	<p class="bg-yl" align="right">
		共<span id="typeSize"></span>笔
		<div class="a-pick-links">
			<a href="#">全部</a> | 
			<a class="a-blue" href="#">银行</a> | 
			<a class="a-blue" href="#">邮局</a>
		</div>
  </p>
  <div id="transfer"></div>
</div> 
<div id="login_dialog" title="确认身分" class="alert-caution" style="display:none;">
  <p><br />请确认您的身分<br /></p>
  <input type="hidden" id="claimUrl">
  <div align="center"><a href="javascript:;" class="btn-mid" onclick="toMemberLogin();">我是会员</a><a href="javascript:;" class="btn-mid-13" onclick="toNonmemberLogin();">我不是会员（非会员购买）</a></div>
</div>